Job script
The Job script references the Transformation script, then performs the file deletion of the original file and converts the _working to its original name and placement on the FTP Site.
Procedure
- Select File > New > Job and save with an appropriate name.
- Right-click to access Job Settings. Select the Parameters tab and set the following (examples used):
- alterian.datafile.directory = C:\Temp\
- alterian.datafile.name = K_TestFile1.txt
- alterian.creativeui.channelname =
- alterian.creativeui.OutputFileName =
- Click OK.
- From the General menu, select START and drag the item to script.
- From the General menu, select Transformation and drag the item to script. and connect the two items from START to Transformation.
- Connect the two items from START to Transformation.
- Double-click the Transformation and in the Transformation filename, browse to the previously created transformation, and select OK.
- From the File management menu, select and drag a Delete File item onto the script and connect from Transformation to the Delete File.
- Double-click the Delete File, and in the File name section use the CTRL-Space method to build the value
${alterian.datafile.directory }\${alterian.datafile.name}
- Click OK.
- From the File management menu, select a Move Files item onto the script and connect from Delete File to Move Files.
- Double-click Move Files and in the grid at the bottom use the CTRL-Space method to build the grid, as seen below. Note the use of the
{alterian.creativeui.OutputFileName } parameter here.
- On the Destination file tab of the Move files tool, check the Destination is a file check box.
- Click OK.
- From the File Transfer menu, select the Put a File with FTP tool.
- Enter the FTP site details on the General tab.
- Enter the location using variables on the Files tab.
|
|